import axios from "/src/utils/http.js";

export const getElderNurseAPI = () => {
    return axios({
        url: "elder/queryall",
        method: "get",
    });
};

export const getNurseAPI = () => {
    return axios({
        url: "nurse/queryall",
        method: "get",
    });
};
export const bindNurseAPI = (params) => {
    return axios({
        url: "elder/modnurseid",
        method: "post",
        params,
    });
};
export const modNurseBindStateAPI = (params) => {
    return axios({
        url: "nurse/modbindstate",
        method: "post",
        params,
    });
};